package com.demo.petshop.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

/**
 *  实体类。
 *
 * @author lenovo
 * @since 2025-06-11
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(value = "users")
public class Users implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Id
    private Integer userId;

    private String username;

    private String passwordHash;

    private String email;

    private String phone;

    private String avatar;

    private String bio;

    private String gender;

    private String birthday;

    private String memberLevel;

    private Integer memberPoints;

    private Integer useBiometric;

    private String biometricType;

    private String createdAt;

    private String updatedAt;

}
